package titiritero.vista;

import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.KeyAdapter;

import titiritero.ControladorJuego;

public class TecladoPressController extends KeyAdapter implements KeyListener {

	private ControladorJuego controlador;

	public TecladoPressController(ControladorJuego unControlador) {
		this.controlador = unControlador;
	}
	public void keyPressed(KeyEvent e) {
		
		this.controlador.despacharTecladoPress(e);

	}

	public void keyReleased(KeyEvent arg0) {
	

	}

	public void keyTyped(KeyEvent arg0) {
	
	
	}

}
